  if abs(b - a) <= 1 and abs(a - c) >= 2 and abs(b - c) >= 2:
    return True
  if abs(c - a) <= 1 and abs(a - b) >= 2 and abs(c - b) >=2:
    return True
  else:
    return False